package cn.cvs.dao;

import cn.cvs.pojo.UHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UHistoryMapper {
    //根据手机号获取Users
    UHistory getUHistoryByPhone(@Param("phone")String phone);
    //预订
    int addUHistory(UHistory uHistory);
    //根据手机号获取集合信息
    List<UHistory> getUHistoryList(@Param("firstDate") String firstDate,@Param("phone") String phone);
    //根据userId删除Users信息
    int deleteByUserId(@Param("userId")Integer userId);
}
